import 'dart:ui';

///延时
delay(int ms, VoidCallback voidCallback) {
  Future.delayed(Duration(milliseconds: ms), voidCallback);
}

///等待
Future<void> wait(int ms) async {
  await Future.delayed(Duration(milliseconds: ms));
}
